<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>后台管理系统</title>
<link href="../Public/admin/css/golbal.css" rel="stylesheet" type="text/css" />
<link href="../Public/admin/css/addmember.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="tittle">
<span>添加会员</span>
<a href="{:U('Admin/member')}">返 回</a>
</div>

<div class="addm">
<form action="{:U('Admin/adduser')}" method="post"">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<if condition="($erorsta eq 1)">
	<tr>
		<td colspan="3" style="text-align:center; color:red;">{$error}</td>
	</tr>
</if>
<tr>
<td height="40"><span style='color:red'>*</span>&nbsp;用户名：</td>
<td colspan="2" style="text-align:left;"><input name="username" type="text"/></td>
</tr>
<tr>
<td  height="40"><span style='color:red'>*</span>&nbsp;密码：</td>
<td colspan="2" style="text-align:left;"><input name="password" type="password"/></td>
</tr>
<tr>
<td  height="40"><span style='color:red'>*</span>&nbsp;确认密码：</td>
<td colspan="2" style="text-align:left;"><input name="repassword" type="password"/></td>
</tr>
<tr>
<td  height="40" width="150"><span style='color:red'>*</span>&nbsp;昵称：</td>
<td colspan="2" style="text-align:left;"><input id="nickname" class="txt" type="text" name="nickname" value=""/></td>
<td id="nicknameinfo" style="text-align:center" width="170"></td>
</tr>
<tr>
<td  height="40">&nbsp;&nbsp;&nbsp;性别：</td>
<td colspan="2" class="rad" style="text-align:left;"><input class="radi" checked="checked" type="radio" name="sex" value="1"/>男       <input class="radi" name="sex" type="radio" value="2"/>女       </td>
</tr>
<tr>
<td  height="40">&nbsp;&nbsp;&nbsp;出生日期：</td>
<td colspan="2" style="text-align:left;"><input id="year" name="year" type="text" onkeyup="value=value.replace(/[^\d]/g,'')"
      onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" maxlength="4" style="width:35px;" />年<input id="moth" name="moth" onkeyup="value=value.replace(/[^\d]/g,'')"
      onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" type="text" style="width:15px;" maxlength="2" />月<input id="day" name="day" type="text" onkeyup="value=value.replace(/[^\d]/g,'')"
      onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" style="width:15px;"  maxlength="2" />日</td>
<td id="emailinfo" style="text-align:center" width="170"></td>
</tr>
<tr>
<td  height="40"><span style='color:red'>*</span>&nbsp;E-mail：</td>
<td colspan="2" style="text-align:left;"><input id="email" class="txt" type="text" name="email" value=""/></td>
<td id="emailinfo" style="text-align:center" width="170"></td>
</tr>
<tr>
<td  height="40">&nbsp;&nbsp;&nbsp;手机号码：</td>
<td colspan="2" style="text-align:left;"><input id="tel" class="txt" type="text" name="tel" onkeyup="value=value.replace(/[^\d]/g,'')"
      onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" maxlength="11"  value=""/></td>
</tr>
<tr>
<td  height="40">&nbsp;&nbsp;&nbsp;住址：</td>
<td colspan="2" colspan="2" style="text-align:left;"><textarea style="width:200px; line-height:25px; height:70px;" maxlength="50"></textarea></td>
</tr>
<tr>
<td height="100"></td>
<td colspan="2" style="text-align:left;" class="fixbt"><input type="submit" class="fixed_bt" value="确 定"/></td>
</tr>
</tbody>
</table>
</form>
</div>
</body>
</html>
